<?php
/**
 * Aufruf des JsonHandler durch Ajax
 */
require_once('../config/constants.php');
require_once(realpath(DOCUMENT_ROOT) . PROJECT_BASE . AJAXLIBRARYPATH . 'json_handler.php');

header("content-type: application/x-javascript");
$jsonHandler = new JsonHandler();
$body = $jsonHandler->execute($_REQUEST);

echo $body;
?>